package com.hsjk.szwj.module.train.dal.mysql.order;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hsjk.szwj.framework.mybatis.core.mapper.BaseMapperX;
import com.hsjk.szwj.module.train.controller.admin.vo.AdminMemberCheckoutOrderPageReqVO;
import com.hsjk.szwj.module.train.controller.admin.vo.AdminMemberCheckoutOrderPageRespVO;
import com.hsjk.szwj.module.train.controller.app.vo.checkoutorder.AppMyCheckoutOrderDetailReqVO;
import com.hsjk.szwj.module.train.controller.app.vo.checkoutorder.AppMyCheckoutOrderDetailRespVO;
import com.hsjk.szwj.module.train.dal.dataobject.order.CheckoutOrderDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ICheckoutOrderMapper extends BaseMapperX<CheckoutOrderDO> {
    IPage<AppMyCheckoutOrderDetailRespVO> getMyPerformanceDetailPage(Page<AppMyCheckoutOrderDetailReqVO> page,
                                                                     @Param("param") AppMyCheckoutOrderDetailReqVO reqVO);

    IPage<AdminMemberCheckoutOrderPageRespVO> memberCheckoutOrderPage(Page<AdminMemberCheckoutOrderPageReqVO> page,
                                                                      @Param("param") AdminMemberCheckoutOrderPageReqVO reqVO);

}
